package com.example.bili.service;

import com.example.bili.entity.Like;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LikeService {
    //点赞添加
    boolean add( int userId, int trendId, int zhuangt);


    //    查询点赞此动态的全部点赞
    List<Like> getLikeAll(int trendId);

    //    添加点赞
    boolean addLike(Like like);
    //    删除点赞
    boolean delLike(int id);
}
